﻿-- Enable Service Broker
ALTER DATABASE $(dbname) SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE;
GO

-- Set Trustworthy option
ALTER DATABASE $(dbname) SET TRUSTWORTHY ON;
GO

USE $(dbname)
GO
